package com.social.entity;

import java.util.Date;

public class Log {
//    日志id不用插入，我在数据库给它设置了自增
//    private int id;
    private String userId;
    private String scope;
    private String content;
    private String[] imgAdreess;
    private Date createTime;
//    点赞数
    private int likeNum;


    public Log() {

    }

    public Log(String userId, String scope, String content, String[] path, Date date, int likeNum) {

        this.userId = userId;
        this.scope = scope;
        this.content = content;
        this.imgAdreess = path;
        this.createTime = date;
        this.likeNum = likeNum;
    }

    public String getUserId(){
        return this.userId;
    }
    public String getScope(){
        return this.scope;
    }
    public String getContent(){
        return this.content;
    }

    public String[] getImgAdreess(){
        return this.imgAdreess;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public int getLikeNum() {
        return this.likeNum;
    }
}
